package com.xx.springboot.designPattern.ObserverMode;

/**
 * Created by xiaoxiunique on 2018-11-13.
 */
public class test {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();

        JWetherData jWetherData = new JWetherData();

        CurrentConditionDisplay currentConditionDisplay = new CurrentConditionDisplay(jWetherData);

        jWetherData.setMeasurements(10, 10, 10);
        jWetherData.setMeasurements(11, 13, 12);
    }
}
